package com.board.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("后台账号登录参数对象")
public class AdminLoginForm {
    @ApiModelProperty("账号名")
    @NotNull(message = "账号名不能为空")
    private String adminUser;
    @ApiModelProperty("密码")
    @NotNull(message = "密码不能为空")
    private String adminPass;
}
